/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * Copyright (c) 2013-2014 sagyf Yang. The Four Group.
 */

package app.models.parking;

import com.github.sog.annotation.TableBind;
import com.github.sog.plugin.sqlinxml.SqlKit;
import com.jfinal.plugin.activerecord.Model;

/**
 * <p>
 * .
 * </p>
 *
 * @author sagyf yang
 * @version 1.0 2014-04-26 17:04
 * @since JDK 1.6
 */
@TableBind(tableName = "ol_member_parking")
public class MemberParking extends Model<MemberParking> {
    /**
     * The public dao.
     */
    public static final MemberParking dao = new MemberParking();

    private static final long serialVersionUID = -1182269330712648603L;


    public MemberParking findByMember(long member) {
        return findFirst(SqlKit.sql("memberparking.findByMember"), member);
    }
}